DJM Questor Software

Host: Club Cruceros, La Paz, B.C.S., Mexico
Base: DJM Questor Software

MarinePlotter "Corrupted files" Problems

Warning: Opening or viewing a corrupted satellite image file might cause the MarinePlotter App to crash. Sometimes the Windows 10 System will fail to catch the exception and as such the program cannot report the error nor optionally replace the file. Until Microsoft fixes the problem, you will need to manually delete the bad image files and then download new images.

How to find unreported corrupted files

One method is to use the Windows CHKDSK command. The command will scan the selected storage device for errors and will optionally fix the errors; however, after the fix the file might be missing necessary data. You will need to manually check each repaired file and replace or delete any invalid file.

To use CHKDSK,

  1. Click the mouse right-button on the "Start" icon in the task bar.
  2. Select the "Command prompt (Admin)" command.

  3. Alteratively, enter "command prompt" into the Corona text search box next to the "Start" icon.
  4. At the top of the result listing, Right click the listed "Command Prompt" entry and select the "Run as administrator" command.

  5. The command prompt window will open.

To review the CHKDSK F, R, and X commands, enter the command: "CHKDSK /?"

To check the device, enter: "CHKDSK C: /F"

To repair the device, enter: "CHKDSK C: /F /R /X"

To save the CHKDSK results, enter "CHKDSK C: /F /R /X > {filepath}" . For example: "CHKDSK C: /F /R > D:\chkdsk.txt" . If the System needs to lock the scanned device (as in the example), save the results to a different storage device.

Depending upon the size if the storage device, the scan will take an hour or more.

At the end of the scan, the command window will contain a list of zero or more bad cluster (corrupted) files

For example:
Stage 4: Looking for bad clusters in user file data ...
Windows replaced bad clusters in file 53235A
of name \Charts\Tile Cache\GoogleMaps\Satellite\10\518\400.png.
Windows replaced bad clusters in file 53235C
of name \Charts\Tile Cache\GoogleMaps\Satellite\10\519\398.png.
Windows replaced bad clusters in file 532579
of name \Charts\Tile Cache\GoogleMaps\Satellite\14\8680\6504.png.
5502448 files processed.
File data verification completed.

Replace bad image files

Warning: Even though CHKDSK has repaired the bad clusters, it has not necessarily repaired the file. In most cases, you will need to replace or delete the files indicated in the listing.

You must delete all bad satellite image files because the MarinePlotter might crash when it attempts to open a corrupted file.

After manually deleting the file, use to MarilnePlotter to download a new copy or restore the file from a backup copy.

Note that the newly downloaded tile might have been corrupted at the source or in your backup copy. In this case, delete the bad files and do not try to replace them until good copies are available in after a tile version number change for the related area.

Replace viewable but bad satellite images

If the MarinePlotter desplays obviously corrupted satellite images, you will need to replace each image with either a backup copy or a newly downloaded copy.

To replace a viewable image,

  1. click the mouse right-button on the plot window with the bad images,
  2. in the popup menu, select the "Download tiles" and "Replace" command.
  3. The program will replace all the tiles in the window.

Replace non-viewable bad satellite images

Use the CHKDSK method above.

End